package o2o.utils;

import java.io.Serializable;
import java.util.Date;
import java.util.HashSet;
import java.util.Set;

/**
 * @Description: TODO
 * Created with IntelliJ IDEA.
 * User: yangtk [1061203621@qq.com]
 * Date: 2018/12/18 18:25
 * 相互通信使用类
 */
public class MutualNotify implements Serializable {
    private MutualNotify() {
    }

    private static MutualNotify single = new MutualNotify();

    public static MutualNotify getInstance() {
        return new MutualNotify();
    }

    private String sysCustomer; // 系统标识
    private int type;              //发送类型
    private String receiver;      //接受的用户
    private Set<String> receivers = new HashSet<>();    //如果是多个用户--不允许重复
    private long createTim;        //发送的时间
    private Long long01;
    private Long long02;
    private String str01;
    private String str02;
    private Integer int01;
    private Integer int02;
    private Double double01;
    private Double double02;
    private Double double03;
    private Double double04;
    private Double double05;
    private Double double06;
    private Long operTime;
    private Date date1;

    public Date getDate1() {
        return date1;
    }

    public MutualNotify setDate1(Date date1) {
        this.date1 = date1;
        return this;
    }

    private Integer status;


    public String getSysCustomer() {
        return sysCustomer;
    }

    public MutualNotify setSysCustomer(String sysCustomer) {
        this.sysCustomer = sysCustomer;
        return this;
    }

    public int getType() {
        return type;
    }

    public MutualNotify setType(int type) {
        this.type = type;
        return this;
    }

    public String getReceiver() {
        return receiver;
    }

    public MutualNotify setReceiver(String receiver) {
        this.receiver = receiver;
        return this;
    }

    public Set<String> getReceivers() {
        return receivers;
    }

    public MutualNotify setReceivers(Set<String> receivers) {
        this.receivers = receivers;
        return this;
    }

    public long getCreateTim() {
        return createTim;
    }

    public MutualNotify setCreateTim(long createTim) {
        this.createTim = createTim;
        return this;
    }

    public Long getLong01() {
        return long01;
    }

    public MutualNotify setLong01(Long long01) {
        this.long01 = long01;
        return this;
    }

    public Long getLong02() {
        return long02;
    }

    public MutualNotify setLong02(Long long02) {
        this.long02 = long02;
        return this;
    }

    public String getStr01() {
        return str01;
    }

    public MutualNotify setStr01(String str01) {
        this.str01 = str01;
        return this;
    }

    public String getStr02() {
        return str02;
    }

    public MutualNotify setStr02(String str02) {
        this.str02 = str02;
        return this;
    }

    public Integer getInt01() {
        return int01;
    }

    public MutualNotify setInt01(Integer int01) {
        this.int01 = int01;
        return this;
    }

    public Integer getInt02() {
        return int02;
    }

    public MutualNotify setInt02(Integer int02) {
        this.int02 = int02;
        return this;
    }

    public Double getDouble01() {
        return double01;
    }

    public MutualNotify setDouble01(Double double01) {
        this.double01 = double01;
        return this;
    }

    public Double getDouble02() {
        return double02;
    }

    public MutualNotify setDouble02(Double double02) {
        this.double02 = double02;
        return this;
    }

    public Double getDouble03() {
        return double03;
    }

    public MutualNotify setDouble03(Double double03) {
        this.double03 = double03;
        return this;
    }

    public Double getDouble04() {
        return double04;
    }

    public MutualNotify setDouble04(Double double04) {
        this.double04 = double04;
        return this;
    }

    public Double getDouble05() {
        return double05;
    }

    public MutualNotify setDouble05(Double double05) {
        this.double05 = double05;
        return this;
    }

    public Double getDouble06() {
        return double06;
    }

    public MutualNotify setDouble06(Double double06) {
        this.double06 = double06;
        return this;
    }

    public Long getOperTime() {
        return operTime;
    }

    public MutualNotify setOperTime(Long operTime) {
        this.operTime = operTime;
        return this;
    }
}